<!--<template>
    <div>
        {{hello()}}
&lt;!&ndash;        <fu></fu>&ndash;&gt;
    </div>
</template>-->

<script lang="tsx">
import {Component, Vue} from 'vue-property-decorator'
import Super from "./components/Super.js";

@Component({
    components: {
        Super:Super
    }
})
/**
 * 要是继承类扩展方法， 那这个默认的组件要继承其它类， 其它类最后要继承Vue
 */
export default class App extends Super {

    hello() {
        console.log("我是父组件的父类方法的hello")
    }
    render() {
        return (
            <div>
                <h2>我是App组件</h2>
                <Super>df</Super>
            </div>
        )
    }
}
</script>

<style scoped>
#app {
    font-family: Avenir, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
    color: #2c3e50;
    margin-top: 60px;
}
</style>
